package view.cms.desktop.events
{
    import flash.events.*;

    public class SelectEvent extends Event {

        public var selectedObject:Object;
        public var shiftKey:Boolean;
        public var fromClick:Boolean;

        public static const SELECT:String = "selectDrawing";
        public static const SELECT_DESKTOP:String = "selectDesktop";
        public static const SWITCH_SELECT:String = "switchSelect";

        public function SelectEvent(type:String, bubbles:Boolean, cancelable:Boolean, 
        	selectedObject:Object, shift:Boolean, fromClick:Boolean=true):void
        {
            this.selectedObject = selectedObject;
            this.shiftKey = shift;
            this.fromClick = fromClick;
            super(type,bubbles,cancelable);
        }
    }
}




